termining a page break
- it does so by the insert mechanism
- when floats can't be placed they also become inserts (top and bottom)
- when there are inserts in inserts th eproblem becomes more complex (so
notes inside floats)
- in traditional tex deeply burried inserts disappearm less so in lmtx
Th
notes inside floats)
- in traditional tex deeply burried inserts disappearm less so in lmtx
There are things that are hard to get right. This works:
\startpostponing
\startplacefigure[location=here,title={test \footnote{oeps 1}}]
\blackrule[width=1tw]
here
\footnote{hello
a similar
effect as \starttextdisplay.
\usemodule[visual]
\setupfloat[figure][location=left]
\starttext
\fakewords{10}{20}
\startlinecorrection
\fakeimage{4cm}{3cm}{6cm}{4cm}
\stoplinecorrection
\fakewords{10}{20}
\blank[2*line]
\fakewords{10}{20}
\startplacefigure[location={force,none}]
\fakeimage
[visual]
\setupfloat[figure][location=left]
\starttext
\fakewords{10}{20}
\startlinecorrection
\fakeimage{4cm}{3cm}{6cm}{4cm}
\stoplinecorrection
\fakewords{10}{20}
\blank[2*line]
\fakewords{10}{20}
\startplacefigure[location={force,none}]
\fakeimage{4cm}{3cm}{6cm}{4cm}
\stopplacefigure
\fakewords
]
\starttext
\fakewords{10}{20}
\startlinecorrection
\fakeimage{4cm}{3cm}{6cm}{4cm}
\stoplinecorrection
\fakewords{10}{20}
\blank[2*line]
\fakewords{10}{20}
\startplacefigure[location={force,none}]
\fakeimage{4cm}{3cm}{6cm}{4cm}
\stopplacefigure
\fakewords{10}{20}
\blank[2*line]
\fakewords{10}{20
bachotex:naglowek:columns
\defineframedtext [Dane]
\setupframedtext
[Dane]
[width=18cm ,
align=normal,
frame=no]
\definenarrower
[Streszczenia]
[2*middle]
\startplacefigure [location={here,none}]
{\startDane
{\tfa
\inmargin, \inouter etc.
Additional to Wolfgang’s suggestions:
If you need sidefloats that cover not only the margin but should
decrease the text width, you can move sidefloats into the margin like:
\startplacefigure[title={},location=outer]
\offset[rightoffset=-\marginwidth]{\externalfigure[cow
ner}{\flushnextbox}%
\else
\flushnextbox
\fi}
\hbox}
\setupfloat[table][command=\FloatTableALignment]
\setupfloat[figure][default=rightmargin]
\starttext
\inright{Lorem ipsum \unknown}\samplefile{lorem}
\startplacefigure
\externalfigure[dummy][width=\rightmarginwi
:22, Jeong Dal via ntg-context <ntg-context@ntg.nl> wrote:Dear all,I have a little problem to use “columns” in the following example.If I use “\startcolumnset”, then I have the following problems: 1. The figures is aligned left even though I use \startplacefigure[]. 2. In the second column, the
Dear all,I have a little problem to use “columns” in the following example.If I use “\startcolumnset”, then I have the following problems: 1. The figures is aligned left even though I use \startplacefigure[]. 2. In the second column, the first item located at the end of the page.However, \vfill
rph-chk.lua:97>
...-10/tex/texmf-context/tex/context/base/mkxl/grph-inc.lmt:1680: in
function <...-10/tex/texmf-context/tex/context/base/mkxl/grph-inc.lmt:1665>
(...tail calls...)
506 \startsubsection[title=Schriftwahl]
…
513
514 \startplacefigure[title={Beispi
ts}
\input knuth
Some more stuff\inouter{Some multi-line text to be placed in the outer
margin to check whether it is positioned correctly.} to
read\inouter{Another multi-line text to be placed in the outer margin to
check whether it is positioned correctly.}.
\startplacefigure[title={A lengthy caption
-outname \externalfilteroutputfile},
output=\externalfilterbasefile.pdf,
cache=yes,
readcommand=\ReadImage,]
\define[1]\ReadImage{\externalfigure[#1]}
\starttext
Testing if we can include an asymptote image
\startplacefigure[location={here}, title={An Asymptote figure}]
\startASY
*
> \starttext
> \in{figure}[fig:kruskal1] is my point.
>
> \startplacefigure[location=,reference=fig:kruskal1,title={}]
> \externalfigure[cow][width=.5\makeupwidth]
> \stopplacefigure
> \stoptext
> %
> __
%%%*
\starttext
\in{figure}[fig:kruskal1] is my point.
\startplacefigure[location=,reference=fig:kruskal1,title={}]
\externalfigure[cow][width=.5\makeupwidth]
\stopplacefigure
\stoptext
%___
If your
on the
next page one after the other.
Can anyone suggest what I could be doing wrong?
Without a proper example it's difficult to give an answer.
Do I need to increase the buffer? how?
This is what I have used to place each figure
\startplacefigure[location=here,reference=fig:blah
could be doing wrong?
Do I need to increase the buffer? how?
This is what I have used to place each figure
\startplacefigure[location=here,reference=fig:blah][]{}
\externalfigure[blah.jpeg][scale=300]
\stopplacefigure
file
extension."
current version: 2023.09.26 18:19
Code:
% SOT
\starttext
\startplacefigure
\externalfigure[https://placekitten.com/408/287][method=auto]
\stopplacefigure
\stoptext
% EOT
Expected: Cute kitten photo.
Actual: Error.
Is this a regression? Or has the syntax changed (stale
I had no luck with page floats in columnsets; according to the manual
they should work.
Hraban
\setuppapersize[A5,landscape]
\useMPlibrary[dum]
\definecolumnset[Two][n=2]
\starttext
\startcolumnset[Two]
\dorecurse{5}{1\recurselevel\samplefile{lorem}\par}
\startplacefigure[location=page
Hi,
a current observation:
I have some floats with text wide images like:
\startplacefigure[location=top]
\externalfigure[dummy][width=\textwidth]
\stopplacefigure
These were moved to the last page until I decreased the width minimally
(by 0.1 mm).
So I guess there’s a rounding error
[\xmlfilter{#1}{./url('xlink:href')}]
\stopxmlsetups
\startxmlsetups xml:link
https://uv-v4.netlify.app/\#?manifest=\xmlfilter{#1}{./url('xlink:href')}
\stopxmlsetups
\startxmlsetups xml:fig
\startplacefigure[title=Test]
\startalignment[center
seccio:problemes-de-fraccions}]
22
23 \subject{Preguntes}
24
25 >> \startexercici[reference=exercici:problemes-de-fraccions-1, title={oli}]
Calculeu quina part del dipòsit queda buida, sabent que l'aigua ocupa $2/5$ del
recipient i l'oli, $1/4$ (vegeu figura~\in[fig:oli-aigua-diposit]
?
\definefloat[NLfigure][figure]
\setuplabeltext[en][NLfigure=]
\starttext
\samplefile{ward}
\startplacefigure[title={oeps}]
\stopplacefigure
\samplefile{tufte}
\startplaceNLfigure[title={oeps}]
\stopplaceNLfigure
\samplefile{tufte}
\stoptext
}
\dorecurse{4}{\samplefile{tufte}\par}
}
\stoptext
\stopbuffer
\startplacefigure[location=here,reference=fig:vz-1,title={Cheating with
vertical expansion: \type {[vz=no]}.}]
\startcombination[4*1]
{\typesetbuffer[vz-1][width=\combinationwidth,page=1,frame=on]} {}
{\typesetbuffer[vz-1
]
\definefloat[subfigure][local=yes]
\setupcaption[subfigure][numberconversion=a, prefix=no, headseparator={)}]
\setuplabeltext[subfigure=]
\appendvalue{stopplacefigure}{\resetcounter[subfigure]}
\starttext
test sdlkf jlsdjf lksjdf
\startplacefigure[title=Test]
\startfloatcombination[nx=3
This one works very nicely, though the movesidefloat gives nicely complete
control.
\samplefile{tufte}
\startplacefigure
[location={right,halfline},
number=no]
\externalfigure[autocad.png][width=0.6\textwidth]
\stopplacefigure
\samplefile{tufte}
Below the figure there is quite some space
ere a
> >> more granular method?
> > Not that I know of, but maybe {right,halfline} will do?
>
> Maybe try "location={right,-1*hang},"
For finer control, you can use `\movesidefloat`:
\movesidefloat[x=-..., y
gt; With the following example, the figure is placed a little lower than the
> first text line. The top of the figure is at about the middle of the first
> line. Is there a way to move-up the figure slightly to align it with the
> top of the text line?
> >
> > \useMPlibrar
tly to align it with the top
> of the text line?
>
> \useMPlibrary[dum]
>
> \starttext
>
> \startplacefigure
> [number=no,
>location=right]
> \externalfigure[dummy]
> \stopplacefigure
>
> \samplefile{tufte}
>
> \stoptext
May
With the following example, the figure is placed a little lower than the
first text line. The top of the figure is at about the middle of the first
line. Is there a way to move-up the figure slightly to align it with the
top of the text line?
\useMPlibrary[dum]
\starttext
\startplacefigure
Am 29.05.23 um 16:47 schrieb Hans Hagen via ntg-context:
Is this also the right approach to check for the current page within a
float placement?
Like
\startplacefigure[]
\dontleavehmode\signalrightpage % necessary?
\doifelserightpage{RIGHT}{LEFT}
\doifelseoddpage {ODD }{EVEN
test will work ok.
The odd/even test works as expected when you're in the page builder
(wrapping up the page).
Is this also the right approach to check for the current page within a
float placement?
Like
\startplacefigure[]
\dontleavehmode\signalrightpage % necessary
you're in the page builder
(wrapping up the page).
Is this also the right approach to check for the current page within a
float placement?
Like
\startplacefigure[]
\dontleavehmode\signalrightpage % necessary?
\doifelserightpage{RIGHT}{LEFT}
\doifelseoddpage {ODD }{EVEN
I found a MWE that shows the problem:
"""
\setuppapersize[C5]
\showframe
\starttext
\startplacefigure[location=page,title={Pagefloat}]
\framed[width=\textwidth,height=.75\textheight]{TEST}
\stopplacefigure
\dorecurse{4}{\section{Tufte \recurselevel}
\samplefile{tuf
it in a simple example like this:
"""
\starttext
\dorecurse{2}{\samplefile{tufte}}
\startplacefigure[location=page,title={Pagefloat}]
\framed[width=\textwidth,height=.5\textheight]{TEST}
\stopplacefigure
\dorecurse{5}{\samplefile{knuth}}
\stoptext
"""
What could
t
\dorecurse{2}{\samplefile{tufte}}
\startplacefigure[location=page,title={Pagefloat}]
\framed[width=\textwidth,height=.5\textheight]{TEST}
\stopplacefigure
\dorecurse{5}{\samplefile{knuth}}
\stoptext
"""
What could cause this behavior? For what shoul
title=Figures B]
>>\placelistofBfigures
>> \stopsubject
>> \stoptitle
>>
>> \startpart[title=Part ONE]
>> \startchapter[title={Chapter one in part one}] %les21
>>
>> \startplaceAfigure
>> [location=left,
>> reference=fig:dumA,
>>
artplaceAfigure
> [location=left,
>reference=fig:dumA,
>title={Dummy A}]
> {\externalfigure[dummy][width=0.6\textwidth]}
> \stopplaceAfigure
>
> \startplacefigure
> [location=left,
>reference=fig:dumB,
>title={Dummy B}]
&g
]}
\stopplaceAfigure
\startplacefigure
[location=left,
reference=fig:dumB,
title={Dummy B}]
{\externalfigure[dummy][width=0.6\textwidth]}
\stopplacefigure
\startsection[title=Section A]
\startplaceAfigure
[location=left,
reference=fig:dumC
]
\stopsubject
\stoptitle
\startchapter[title=Mychapter]
\input knuth
\startsubject[title=Subject will be in TOC]
\writetolist[chapter]{1}{I am in TOC!}
\input ward
\startplacefigure
[location=middle,
title=Cow 1
}{\resetcounter[subfigure]}
\starttext
\startplacefigure[title=Test]
\startfloatcombination[nx=1, ny=2]
\startplacesubfigure[title=Test]
\externalfigure[dummy][width=4cm,height=1cm]
\stopplacesubfigure
\startfloatcombination[nx=2, ny=1]
\startplacesubfigure
://tex.stackexchange.com/a/502903):
\useMPlibrary[dum]
\setupcombinations[alternative=text]
\definefloat[subfigure][local=yes]
\setupcaption[subfigure][numberconversion=a]
\setuplabeltext[subfigure=]
\appendvalue{stopplacefigure}{\resetcounter[subfigure]}
\starttext
\startplacefigure[title=Test
xml:footnote
\footnote{\xmlflush{#1}}
\stopxmlsetups
\startxmlsetups xml:figure
\startplacefigure[title={Test},location={force,split}]
\xmlflush{#1}
\stopplacefigure
\stopxmlsetups
\startxmlsetups xml:table-wrap
\startpostponingnotes
\xmlflush{#1}
\stoppostponingnotes
\stopxmlsetups
\xmlflush{#1}
\stopxmlsetups
\startxmlsetups xml:p
\xmlflush{#1}\par
\stopxmlsetups
\startxmlsetups xml:footnote
\footnote{\xmlflush{#1}}
\stopxmlsetups
\startxmlsetups xml:figure
\startplacefigure[title={Test},location={force,split}]
\xmlflush{#1}
\stopplacefigure
\stopxmlsetups
Hi,
I need to have a table set with tabulate centered and a bit narrower. But it
seems that \startnarrow has no effect on the tabulate. Am I missing something ?
Is there a better way to achieve the same thing?
Best,
Denis
\starttext
\showframe
\startplacefigure[location=force,number
\startuseMPgraphic{vanderwaerden012}
\includeMPgraphic{vanderwaerdenbas}
draw function(1,"x","vdw(2,x)+vdw(1,x)+vdw(0,x)",epsed(-1),epsed(1),1/1000)
scaled u ;
\stopuseMPgraphic
\startuseMPgraphic{vanderwaerden0123}
\includeMPgraphic{vanderwaerdenbas}
draw
function(1,&qu
or a \startplacefigure with no
\stopplacefigure. This freqeuntly doesn’t cause an error because the engine is
happily packing my entire book into a margin figure.
See if there something you should have stopped near the place where things go
bad?
Good luck!
Gavin
> On Oct 30, 2022, at 7:46
Hi Joel,
I get this error frequently when I forget to stop an environment, for example a
\startsection with no \stopsection or a \startplacefigure with no
\stopplacefigure. This freqeuntly doesn’t cause an error because the engine is
happily packing my entire book into a margin figure.
See
As soon as I use floats, text isn’t typeset on the grid any more:
\setuppaper[A5]
\setuplayout[grid=yes]
\showframe\showgrid
\setupexternalfigure[
location={local,global,default},
]
\starttext
\samplefile{lorem}
\startplacefigure[location=left,title=left]%
\externalfigure[mill][width=.25
[location={default,local,global}]
\starttext
\startplacefigure[location=right,]
\externalfigure[cow][width=.3\makeupwidth]
\stopplacefigure
\startformula
U(f,P) \alignhere = f(2,2)\Delta A_{11}+f(2,3)\Delta A_{12}\breakhere
\skiphere[1em] +f(3,2)\Delta A_{21}+f(3,3)\Delta A_{22} \breakhere
tell
them to forget everything they believe to know about TeX ;P
– Layout, i.e. \setuppapersize, \setuplayout and \showlayout
– Structure, i.e. \startchapter, \startitemize
– Images & Floats, i.e. \externalfigure, \startplacefigure
Project structure makes sense if you have more than one
finition of
\includesvgbuffer, here is a simpler example illustrating the issue:
\starttext
\startplacefigure[location=here, title={Test}]
\dontleavehmode\begingroup
\startMPcode
draw fullcircle scaled 2cm;
\stopMPcode\endgroup
\stopplacefigure
\stoptext
font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal">16p13.3
>
> \stopbuffer
>
> \starttext
>\placefigure[]{}{\includesvgbuffer[svg][conversion=mp]}
> \stoptext
> % EOF
This has nothing to do with SVG. Looking at the definitio
> \def\insert##1\bgroup##2\egroup{
> > \normalexpanded{
> > \noexpand\save_footnote_data
> > {\cldcontext{userdata.input_order}}
> > }
> > \normalinsert##1{
Maier via ntg-context wrote:
Hi,
I think I’ve ran into a somewhat strange behaviour. If you have a footnote in a
float caption, the footnote won’t use the full textwidth, but only the width of
the corresponding caption. Is that on purpose, a context bug or a user bug?
Best,
Denis
\starttext
asd
nly the width of
the corresponding caption. Is that on purpose, a context bug or a user bug?
Best,
Denis
\starttext
asdf
\startplacefigure[title={My caption with a long footnote.\footnote{\input
ward}}]
\externalfigure[cow.pdf]
\stopplacefigu
caption. Is that on
purpose, a context bug or a user bug?
Best,
Denis
\starttext
asdf
\startplacefigure[title={My caption with a long
footnote.\footnote{\input ward}}]
\externalfigure[cow.pdf]
\stopplacefigure
\stoptext
>
> \old_footnote{#1}
> \endgroup
> \stoptexdefinition
>
> \protect
>
> % Original Example
>
> \starttext
>
> \footnote{asdf} \footnote{asdf} \footnote{asdf}
>
> \input ward
>
>
Hi,
I think I've ran into a somewhat strange behaviour. If you have a footnote in a
float caption, the footnote won't use the full textwidth, but only the width of
the corresponding caption. Is that on purpose, a context bug or a user bug?
Best,
Denis
\starttext
asdf
\startplacefigure[title
on
\protect
% Original Example
\starttext
\footnote{asdf} \footnote{asdf} \footnote{asdf}
\input ward
\startplacefigure[title={asdfasdf\footnote{test 1}}]
\externalfigure[cow.pdf]
\stopplacefigure
\footnote{asdf} \footnote{asdf} \footnote{asdf}
\startpla
} \footnote{asdf} \footnote{asdf}
\input ward
\startplacefigure[title={asdfasdf\footnote{test 1}}]
\externalfigure[cow.pdf]
\stopplacefigure
\footnote{asdf} \footnote{asdf} \footnote{asdf}
\startplacefigure[title={asdfasdf\footnote{test 2}}]
\externalfigure[cow.pdf][height=10cm]
\stopplacefigure
Bruce,
I tend to do something such as the following:
\startplacefigure[reference={fig:0007},location={here},title={{\it
Vīkṣya}, 5b},list={Ch.\ {\sc ix}\TI {\it Vīkṣya}, 5b}]
\externalfigure[plates/01-09/01-09-07-
c.jpg][scale=1000,frame=off,equalwidth=325pt]
{{\NI}{\tfx \copyright\ 2012
. \placefigure{A picture of a cow. Image of a cow that may or may not be
under copyright anymore.}{\externalfigure[cow][height=6cm]}
then the copyright bit will appear in the Table of Figures which I don't really
want to happen. Is there a way to truncate this?
Using
\startplacefigure[title={complete
agraph. A
fix
is to use \indentation after \stopplacefigure.
\setupfloat[figure][indentnext=yes]
\starttext
%\setupbodyfont[11pt]
\setupindenting[yes, medium]
\input ward
\endgraf
\startplacefigure[title=A Figure,location={page,auto}]
\startframedtext \input wa
As always, it is hard to tell whether this is my stupidity, the wrong version
of ConText, or a bug.
\setupfloat[figure][indentnext=yes]
\starttext
%\setupbodyfont[11pt]
\setupindenting[yes, medium]
\input ward
\startplacefigure[title=A Figure,location=page]
\startframedtext \input ward.tex
Hi Alain,
in my current project I need the same. I use floats and move the
externalfigure with \offset; can show you on Tuesday.
e.g.
\startplacefigure[title={},location=left]% or outer...
\offset[topoffset=-1em,leftoffset=-20mm]{%
% it would be nice to have outeroffset/inneroffset
On Fri, 10 Dec 2021 17:01:26 +0100
Hans Hagen wrote:
> no example code
The MWE was included in the OP on 2021-10-30. But here it is again:
\setupfloat [figure]
[default=bottom] %% fails
%% [default=top] %% works
\definefloat
[foo] [foos]
[figure]
\starttext
\startplacefig
: return code: 256
\setupfloat [figure]
[default=bottom] %% fails
%% [default=top] %% works
\definefloat
[foo] [foos]
[figure]
\starttext
\startplacefigure [title=Foo]
\framed{Foo}
\stopplacefigure
\startplacefoo [title=Bar]
\framed{Bar}
\stopplacefoo
\stoptext
Marco
LMTX
tempor
\startplacefigure [location=outer]
\externalfigure
\stopplacefigure
\samplefile{knuth}
\stoptext
Marco
LMTX 2021.11.26 11:38
___
If your question is of interest to others as well, please add an entry
top]
\starttext
\samplefile{knuth}
\startplacefigure %% [location=top] %% default
\externalfigure
\stopplacefigure
%% Goal here: turn off the caption, not influence the default placement
%% needs to be adapted when the global style changes
%% \startplacefigure [location=none] %% fa
Am 30.11.21 um 12:16 schrieb Marco Patzer via ntg-context:
Hi!
Today I discovered that the parameter order in float location matters:
\starttext
\samplefile{knuth}
\startplacefigure [location={top,none}] %% works: float is at the top
\externalfigure
\stopplacefigure
Hi!
Today I discovered that the parameter order in float location matters:
\starttext
\samplefile{knuth}
\startplacefigure [location={top,none}] %% works: float is at the top
\externalfigure
\stopplacefigure
\startplacefigure [location={none,top}] %% top is ignored here
Hi!
The caption "FOO" runs into the right figure's caption:
\setuplayout [width=18.4cm]
\setuptolerance [verytolerant, stretch] %% even with stretch
\starttext
\startplacefigure
\startfloatcombination
\startplacefigure [title=Unexpectedly unnecessary FOO-BA
On 11/24/2021 10:19 AM, Marco Patzer via ntg-context wrote:
Hi!
I'd like to use subfigure numbering for floats. This works:
\useMPlibrary [dum]
\starttext
\startplacefigure [location=none]
\startfloatcombination [nx=2]
\startplacefigure [title=Left, reference=ref:left, group=one
Hi!
I'd like to use subfigure numbering for floats. This works:
\useMPlibrary [dum]
\starttext
\startplacefigure [location=none]
\startfloatcombination [nx=2]
\startplacefigure [title=Left, reference=ref:left, group=one, groupsuffix=a]
\externalfigure
\stopplacefigure
between the
> > paragraph start and the placement of the float) with a hanging float
> > further down the paragraph?
> >
> > MWE:
> >
> > \starttext
> > \input lorem
> > \blank[20*line]
> >
> > % commenting out the hanging float allows paragraph brea
]
% commenting out the hanging float allows paragraph break
\startplacefigure[location={right,15*hang}]
\framed[width=3cm,height=2cm]{graphic}
\stopplacefigure
\dorecurse{10}{\input lorem}
\stoptext
When I remove the hanging float, the paragraph is broken down at the
first pagebreak.
With the float
Hi,
Is there a way to allow a paragraph to break over two pages (between the
paragraph start and the placement of the float) with a hanging float
further down the paragraph?
MWE:
\starttext
\input lorem
\blank[20*line]
% commenting out the hanging float allows paragraph break
\startplacefigure
\startplacefigure[reference=clock]
\externalfigure[clock.jpg]
\stopplacefigure
In figure \at[clock] you see a clock
\page
In figure \at[clock] you see a clock.
Or better: in \in{Figure}[clock] you see a clock.
\stoptext
With \in you the value of the float counter while \at shows the page
where
Hi,
Your example has two issues, since you invoke \externalfigure before
\starttext, and moreover you don’t use the place figure mechanism.
The following gives the result you want:
\setupinteraction[state=start]
\starttext
\startplacefigure[reference=clock]
\externalfigure[clock.jpg
fers to make the figures:
\startbuffer[MyTikZFigure]
% TikZ code here
\stopbuffer
\startplacefigure[reference=MyFig, title={This is the figure’s caption}]
\typesetbuffer[starttikz, MyTikZFigure,stoptikz]
\stopplacefigure
Following a suggestion from Hans, I made two buffer
C.1.S.1".
MWE:
\setupfloatcaption[figure][number=yes,way=bytext,prefix=yes,prefixstarter={C.},numberstarter={S.}]
\starttext
\startchapter[title={Cow}]
\startplacefigure[title={Custom caption}]
\externalfigure[cow]
\stopplacefigure
\stopchapter
\stoptext
Not sure whether prefixstarter is the int
To: Richard Mahoney , mailing list
for ConTeXt users
Subject: Re: [NTG-context] Control of Titles appearing in
\completelistoftables and \completelistoffigures
Date: Wed, 25 Aug 2021 08:48:24 +0200
Mailer: Apple Mail (2.3654.120.0.1.13)
X-Spam-Score: 0.0
Hi,
There is \startplacefigure / \startplacetable
Hi,
There is \startplacefigure / \startplacetable , which has a ‘list’ key
https://wiki.contextgarden.net/Command/_startplacefloat
Best wishes,
Taco
> On 25 Aug 2021, at 05:20, Richard Mahoney via ntg-context
> wrote:
>
> List,
>
> I've been wondering if there is some s
ed
fill t withcolor p % new (and
old)
draw s withpen pencircle scaled 5pt withcolor c;
enddef;
\stopMPdefinitions
\starttext
\definespotcolor[Thin:orange][orange][p=1,a=normal,t=0.5]
\color[orange]{hello}
\startalignment[center]
draw s withpen pencircle scaled 5pt withcolor c;
enddef;
\stopMPdefinitions
\starttext
\definespotcolor[Thin:orange][orange][p=1,a=normal,t=0.5]
\color[orange]{hello}
\startalignment[center]
\startplacefigure
\startMPcode
Test [ prefix = "Thin", color = &q
pic]{Topic}
\startplacefigure
[
title={Awesome figure. Image credits in \about[sec:credits].},
reference=fig:awesome,
]
\begincredits
\in{Figure}[fig:awesome] in \in{Section}[sec:topic] was not created by me.
\endcredits
\stopplacefigure
\section[sec:credits]{Appendix}
\usebloc
1 int:
english/english
\startMPdefinitions
presetparameters "parameters_Test"
[
]
def Test =
applyparameters "parameters_Test" "do_Test"
enddef;
def do_Test =
pushparameters "parameters_Test";
show hasparameter "color&
ter the expression
that is shown above this
% error message, so I guess I'll just ignore it and carry on.
% metafun > log >
% metapost> trace >); boxit.a("a");
boxit.bb("bb"); boxit.ccc("ccc"); drawboxed(a,bb,ccc); ;
% metapost>
]% Lots of setup can go here!
\startTEXpage
\starttikzpicture
\stopbuffer
\startbuffer[stoptikz]
\stoptikzpicture
\stopTEXpage
\stopbuffer
\define[2]\marginTikZ{
\startplacefigure[location=margin, reference=fig:#1, title={#2}]
\typesetbuffer[starttikz,#1,stoptikz
ffer[BlueCircle]
\draw
[thick,blue] (0,0) circle (1.5cm)node{Ti{\it k}Z!};
\stopbuffer
\startplacefigure[location=margin,reference=fig:BlueCircle,title={Example A.}]
\typesetbuffer[starttikz,BlueCircle,stoptikz]
\stopplacefigure
\startplacefigure[location=margin,reference=fig:BlueCircle,t
ggestion:
>> You have to set a caption
>> https://wiki.contextgarden.net/Command/startcombination
>> That worked fine for me:
>> \startplacefigure[location=here]
>> \setupcombination[distance=0mm,after=]
>> {\startcombination[2*1]
>> {\externalfigure[res1
On 5/14/2021 6:30 AM, Benny Schurig wrote:
Hi Julian,
for me first reply ever with a suggestion:
You have to set a caption
https://wiki.contextgarden.net/Command/startcombination
That worked fine for me:
\startplacefigure[location=here]
\setupcombination[distance=0mm,after
Hi Julian,
for me first reply ever with a suggestion:
You have to set a caption
https://wiki.contextgarden.net/Command/startcombination
That worked fine for me:
\startplacefigure[location=here]
\setupcombination[distance=0mm,after=]
{\startcombination[2*1]
{\externalfigure[res1.jpg
Hi list,
The following MWE is giving me two photos under each other, not beside
each. What am I doing wrong?
Julian
\startplacefigure[location=here]
\setupcombination[distance=0mm,after=]
{\startcombination[2*1]
{\externalfigure[res1.jpg][width=.4\textwidth]}
{\externalfigure[res2.jpg
tance=4mm,
location=righthanging]
\startbuffer[caption]
\dorecurse{60}{very long caption }
\stopbuffer
\starttext
\startplacefigure[title={\getbuffer[caption]}]
\externalfigure[cow][height=40mm,width=80mm]
\stopplacefigure
\stoptext
Thank you,
ghthanging]
>
> \startbuffer[caption]
> \dorecurse{60}{very long caption }
> \stopbuffer
>
> \starttext
> \startplacefigure[title={\getbuffer[caption]}]
> \externalfigure[cow][height=40mm,width=80mm]
> \stopplacefigure
> \stoptext
>
> Thank you,
> Jano
>
={nothyphenated,flushleft},
distance=4mm,
location=righthanging]
\startbuffer[caption]
\dorecurse{60}{very long caption }
\stopbuffer
\starttext
\startplacefigure[title={\getbuffer[caption]}]
\externalfigure[cow][height=40mm,width=80mm]
\stopplacefigure
\stoptext
Thank you,
Jano
is can be seen quite clearly in the output of the following example:
\setupbodyfont[dejavu, serif, 12pt]
\starttext
\samplefile{lorem}
\startplacefigure[location={right, none}]
\framed[width=3cm, height=2cm]{graphic}
\stopplacefigure
\samplefile{lorem}
\samplefile{lor
put of the following example:
\setupbodyfont[dejavu, serif, 12pt]
\starttext
\samplefile{lorem}
\startplacefigure[location={right, none}]
\framed[width=3cm, height=2cm]{graphic}
\stopplacefigure
\samplefile{lorem}
\samplefile{lorem}
\stoptext
I am using the curre
1 - 100 of 524 matches
Mail list logo